package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pubinfo.passbook.common.entity.TContractPaymentHeader;
import com.pubinfo.passbook.common.model.vo.contract.ContractPaymentListVo;

import java.util.List;


/**
 * @author MEDIL
 * @description 针对表【t_contract_payment_header(收入凭证-抬头)】的数据库操作Mapper
 * @createDate 2021-12-07 10:37:43
 * @Entity generator.domain.TContractPaymentHeader
 */
public interface TContractPaymentHeaderMapper extends BaseMapper<TContractPaymentHeader> {

    List<TContractPaymentHeader> selectBillList();

    /**
     * 合同已收款明细
     */
    List<ContractPaymentListVo> getPaymentItems(Integer contractId);

}
